package pumpkin;

import java.awt.Color;
import java.awt.Graphics;

public class Circle extends Shape {
	private int radius;
	private int x;
	private int y;

	public Circle(Color a, int rad, int x, int y) {
		super(a);
		radius = rad;
		this.x = x;
		this.y = y;
	}

	@Override
	void draw(Graphics g) {
		g.setColor(super.getColor());
//		g.drawOval(x, y, radius, radius);
		g.fillOval(x, y, radius, radius);

	}

}
